package edu.sctu.xialei.May.day20150520one;

import java.util.Scanner;

/**
 * Created by Administrator on 5/20/2015.
 */
public class InputNumber {

    Scanner getNum = new Scanner(System.in);

    public float inputNumber1(){
        System.out.println("请输入第一个数（实数）：");

        return  getNum.nextInt();
    }

    public float inputNumber2(){
        System.out.println("请输入第二个数（实数）：");

        return  getNum.nextInt();
    }
}
